from langchain_core.tools import tool


@tool()
def foo(bar: str, baz: int) -> str:
    """The foo.

    Args:
        bar: The bar.
        baz: The baz.
    """
    return bar


print(foo.args_schema.schema())
print(foo.invoke({"bar": "simon", "baz": 4}))
